Skip to content

refactor: remove accordion behavior for non-array nodes#91

Merged
nzakas merged 1 commit into
eslint:mainfrom
xbinaryx:refactor-accordion
Apr 21, 2025
Merged

refactor: remove accordion behavior for non-array nodes#91
nzakas merged 1 commit into
eslint:mainfrom
xbinaryx:refactor-accordion

Conversation

@xbinaryx

Copy link
Copy Markdown
Contributor

Prerequisites checklist

What is the purpose of this pull request?

This PR simplifies the AST tree view by removing the accordion behavior for non-array nodes while maintaining it for array items.

What changes did you make? (Give an overview)

  • Removes the collapsible behavior for regular AST nodes
  • Keeps the accordion functionality for array items

Related Issues

Closes #71

Is there anything you'd like reviewers to focus on?

@netlify

netlify Bot commented Apr 18, 2025

Copy link
Copy Markdown

Deploy Preview for eslint-code-explorer ready!

Name Link
🔨 Latest commit 6b283c4
🔍 Latest deploy log https://app.netlify.com/sites/eslint-code-explorer/deploys/68026f777c8fac00087664a0
😎 Deploy Preview https://deploy-preview-91--eslint-code-explorer.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@nzakas nzakas left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

Would like another review before merging. @pkerschbaum would love your thoughts on this.

@patricktree patricktree left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, really good improvement 👍

(in the future we should address the duplication we have here and in other places)

@nzakas nzakas merged commit 5917850 into eslint:main Apr 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Suggestion: use one level accordions for items inside the right pane

3 participants